import java.net.*; 
import java.io.*; 
	
public class TestClient {
	  
	  public static void main( String[] args ) 
	  { 
	    Socket server = null; 
	 
	    try 
	    { 
	      server = new Socket( "10.0.0.100", 6001 ); 
			PrintWriter out = new PrintWriter( server.getOutputStream(), true ); 
			out.println("test");
	 
	    } 
	    catch ( UnknownHostException e ) { 
	      e.printStackTrace(); 
	    } 
	    catch ( IOException e ) { 
	      e.printStackTrace(); 
	    } 
	    finally 
	    { 
	      if ( server != null ) 
	        try { server.close(); } catch ( IOException e ) { } 
	    } 
	  } 
	}